using System.ComponentModel.DataAnnotations;

namespace UniversalAdminSystem.Application.UserManagement.Dtos;

public record UserCreateDto(
     [Required]
     [MinLength(1)]
     [MaxLength(20)]
     string Account,

     [Required]
     [MinLength(6)]
     [MaxLength(20)]
     string Password,

     [Required]
     [EmailAddress]
     string Email);